package com.cloud.feign.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName: GoodsTmsVo
 * @Description: 用于tms的物料视图
 * @Version: v1.0.0
 * @Author: hantianyang
 * @Date: 2023/11/15  8:58
 * Modification History:
 * Date             Author      Version     Description
 * -------------------------------------------------------------
 * 2023/11/15      hty      v1.0.0      创建
 */
@Data
@Accessors(chain = true)
@ApiModel("用于tms的物料视图")
public class GoodsTmsVo {
    @ApiModelProperty(value = "物料id")
    private String id;

    @ApiModelProperty(value = "oaId")
    private String oaId;
    @ApiModelProperty(value = "erpId")
    private String erpId;

    @ApiModelProperty(value = "物料编码")
    private String code;

    @ApiModelProperty(value = "物料名称")
    private String name;

    @ApiModelProperty(value = "产品线id")
    private String lineCode;

    @ApiModelProperty(value = "产品线名称")
    private String lineName;

    @ApiModelProperty(value = "产品组名称")
    private String groupName;

    @ApiModelProperty(value = "类型（1：成品 2：配件 3：POP 4：辅料 5:原料 9.虚拟件）")
    private Integer type;

    @ApiModelProperty(value = "型号")
    private String model;

    @ApiModelProperty(value = "品牌")
    private String brandName;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "单箱台数")
    private Integer perbox;

    @ApiModelProperty(value = "体积")
    private BigDecimal volume;

    @ApiModelProperty(value = "重量")
    private BigDecimal kg;

    @ApiModelProperty(value = "建议零售价")
    private BigDecimal price;

    @ApiModelProperty(value = "是否上市（1上市 0下市）")
    private Integer isMarket;

    @ApiModelProperty(value = "上架状态: 0:下架 1:上架 2:待上架")
    private Integer isPutaway;

    @ApiModelProperty("上架时间/下架时间")
    private Date putawayTime;

    @ApiModelProperty(value = "上市时间")
    private Date onMarketTime;

    @ApiModelProperty(value = "下市时间")
    private Date downMarketTime;

    @ApiModelProperty(value = "渠道(ONLINE:线上,OFFLINE:线下,ALL:全渠道)")
    private String channel;

    @ApiModelProperty(value = "状态（1:有效 0:无效）")
    private Integer status;

    @ApiModelProperty(value = "排序字段(由大到小排)")
    private Integer orderNum;

    @ApiModelProperty(value = "最后更新时间")
    private Date updTime;

    @ApiModelProperty(value = "ip款大类代码")
    private String ipBigCode;

    @ApiModelProperty(value = "ip款大类名称")
    private String ipBigName;

    @ApiModelProperty(value = "ip款小类名称")
    private String ipSmallName;

    @ApiModelProperty(value = "国际条形码")
    private String nationalCode;

    @ApiModelProperty(value = "1:是 0:否")
    private Integer motherBabyFlag;

    @ApiModelProperty(value = "一型一物状态 1:是 0:否")
    private Integer dmsUseStatus;

    @ApiModelProperty(value = "箱长(毫米)")
    private Integer boxLength;

    @ApiModelProperty(value = "箱宽(毫米)")
    private Integer boxWidth;

    @ApiModelProperty(value = "箱高(毫米)")
    private Integer boxHeight;

    @ApiModelProperty(value = "箱重(KG)")
    private BigDecimal boxKg;

    @ApiModelProperty(value = "单台长(毫米)")
    private Integer length;

    @ApiModelProperty(value = "单台宽(毫米)")
    private Integer width;

    @ApiModelProperty(value = "单台高(毫米)")
    private Integer height;

    @ApiModelProperty(value = "是否删除 1:是 0:否")
    private Integer delFlag;

    @ApiModelProperty(value = "平台化编码")
    private String platformCode;

    @ApiModelProperty(value = "平台化名称")
    private String platformName;

}
